package com.lesso.lzh.sunflower.domain.repository;

import com.baomidou.mybatisplus.plugins.Page;
import com.lesso.lzh.sunflower.model.AttendanceRule;
import com.lesso.lzh.sunflower.pojo.dto.AttendanceRuleDTO;
import com.lesso.lzh.sunflower.pojo.dto.AttendanceRuleQueryDTO;
import com.lesso.lzh.sunflower.pojo.dto.EmployeeDTO;
import com.lesso.lzh.sunflower.pojo.vo.AttendanceRuleVO;

/**
 * AttendanceRuleRepository
 *
 * @author zqz
 * @since 2025-07-04
 */
public interface AttendanceRuleRepository {
    Long save(AttendanceRule attendanceRule);

    Page<AttendanceRuleVO> getPageList(AttendanceRuleQueryDTO dto);

    Page<AttendanceRuleVO> getCustomPageList(AttendanceRuleQueryDTO dto);

    void removeById(Long id);

    AttendanceRule selectById(Long id);

    void updateById(AttendanceRuleDTO dto);
}